<?php
$this->breadcrumbs=array(
	'Anggaran'=>'#',
	'Valas',
);

$this->menu=array(
	array('label'=>'List DValas','url'=>array('index')),
	array('label'=>'Create DValas','url'=>array('create')),
);

Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
	$('.search-form').toggle();
	return false;
});
$('.search-form form').submit(function(){
	$.fn.yiiGridView.update('dvalas-grid', {
		data: $(this).serialize()
	});
	return false;
});
");
?>

<?php $this->widget('bootstrap.widgets.BootGridView',array(
	'id'=>'dvalas-grid',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		'THANG',
		//'KDJENDOK',
		array(
                        'name'=>'KDSATKER',
                        'value'=>'$data->satker->NMSATKER',
                ),
                array(
                        'name'=>'KDDEPT',
                        'value'=>'$data->dept->NMDEPT',
                ),
		//'KDUNIT',
		//'KDDEKON',
		'REGISTER',
		'KDVALAS',
		'NILAIVALAS',
		'EKUIUSD',
		'EKUIRPH',
		
	),
)); ?>
